﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IDAL;
using DAL;
using Models;

namespace BLL
{
    public class UpdateParamInfoLogic
    {
        public static IUpdateParamInfo updateparam = new UpdateParamInfoDAL();

        public static void UpdateAllNewsAbout()
        {
            updateparam.UpdateAllNewsAbout();
        }
        public static void UpdateAllWorksAbout()
        {
            updateparam.UpdateAllWorksAbout();
        }

        public static int UpdateTheParamInfo(UpdateParamInfo updateparainfo)
        {
            return updateparam.UpdateTheParamInfo(updateparainfo);
        }
        public static UpdateParamInfo GetUpdateParamInfo()
        {
            return updateparam.GetUpdateParamInfo();
        }

    }
}
